<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <script src="js/vue.js"></script>
    <script>
        window.onload = function() {
            var vm = new Vue ({
                el:"#app",
                data:{
                    msg:"消息",
                    aa:"奥利给"
                }
            });
            console.log(vm);
        }
    </script>
</head>
<body>
    <div id="app">
        <h1>{{msg}}</h1>
        <input type="text" v-model="msg">
        <h2>{{aa}}</h2>
        <input type="text" v-model="aa">
    </div>
    <hr>
    <div>
        <h1>{{msg}}</h1>
    </div>
    <div>
        <h1>{{msg}}</h1>
    </div>
    <div>
        <h1>{{msg}}</h1>
    </div>
</body>
</html>